Speed up tests

Thom Wiggers
2017-03-08T20:35:48+01:00

Now we're using `setUpTestData` more, not running some slow code, using MD5 hashes for speed, and using bulk_create. Also removes some dead code.