fixed broken jasmine tests