adding a test with spy with Sinon
cleaning