Changes: add async API and move to mocha