Formalized tests to run with mocha

Fantastic work on reactor.js!

I saw this gem and thought it deserved some proper tests, so I took the console.log-based rundown of the code and moved it into a mocha test suite.

To get mocha, `npm install -g mocha`
To run the now automated tests, `mocha -R spec` on package root

Hope it helps!