Add jasmine tests