Removed sinon from tests and replaced with jasmine spies