Added function stop and test to Throttler.

As this tool is widely used I prefer to create a PR to add this feature and its test.
`to.not.have.been.called.once` would not throw for a function that was called `twice`. I would leave it `to.not.have.been.called`