Updated Jasmine tests.