jasmine tests fixed