Add some tests, views, context_processors and middleware