Working on Jasmine Javascript unit tests