errors in jasmine