added sinon for spying, added watch