Adding Jasmine tests.