Implement mochaTest