Improving Jasmine tests.