Using jasmine spyOn on the provider object now. Makes the tests a bit cleaner. Done!