Connect test runner into setup.py
Add tests for generate_filename

required the creation of test utilities that mock parts of django to
simulate database interactivity.