added Mocha tests, cleaned up readme.