Feature/tests

Adds test suite containing 13 tests for views and controllers