Fixed Jasmine tests.