add some jasmine tests