using jasmine specs