Added Sinon testing. It passes