added mocha tests, started test structure

 @whitlockjc see what you think of the following structure for testing.  I haven't replaced the build system yet, but we can kick it off with `cake bake && npm test`