use mocha helper in tests