[WIP] Mocha integration

This is a proof-of-concept for improving the testing strategy.  Since the tests are quite verbose, I'm going to put more effort into completing the Promises implementation so that tests may be expressed cleaner and become more reusable.