Working on tests.  Will be rewriting them into mocha because jasmine-node is having problems executing promise tests.