Added jasmine tests