Added Jasmine tests.