Adding Jasmine tests for API models