add code so tests run in newer versions of django

DiscoverRunner was added in 1.6 and tests will not run in newer versions of Django due to changes in the application loading. A fix that will make the test runner run/pass.