Switch unit tests over to using Sinon
Remove references to spooks
Automatically rewritten for npm.