introduced jasmine spies and mock data