Add Jasmine Tests with Spies