added test for hapi plugin with mocha