Added Jasmine Test cases