fix jasmine tests