Added Jasmine based tests