Simple example of using sinon Spies