fixes jasmine tests