Added jasmine tests for controllers.