Adding jasmine tests