controller jasmine tests