Added a testing framework. Run ```npm install -g mocha``` to install the framework, then run ```mocha```  to run the tests.