Added new unit test for new helper methods

Added new unit tests to existing views.py method calls.
I think in this case you want to test if context_error was called with request. Something like this: context_replacement.assert_called_with(request). The return value of the method context error should be handled in the unit tests for utils.py.