removed beforeEach() from dynamic tests as they don't seem to always work with node 8 + this mocha version