Javascrip-t testing with Jasmine library