fixed jasmine tests