added Jasmine test