Updated jasmine tests.