Feature/tests

Adds test suite containing 13 tests for views and controllers
I assume that the hard-coded "1" is going to change? Also, for long method calls like this it can be helpful to comment each argument inline to say what it represents.