Added Jasmine test.