Feature/tests

Adds test suite containing 13 tests for views and controllers
Minor: delete commented out code before merging.