fixed the jasmine tests