Extensions to mocha async tests