fix broken jasmine tests