Refactoring, making it possible to run tests
Refactored to use new code

Now contains one minimal test which fails, and should indicate how to
use TestClient (self.client) to perform view tests.