plugin tests use mocha