repair jasmine tests