testing wrapper for mocha