Added Jasmine tests