updated jasmine tests