Added jasmine tests.