Fixing Jasmine tests.