async mocha test implemented