using jasmine to test