Adding controllers unit tests
Format unit test to be compliant with jshint rules