Fixed jasmine tests.