Use Object.create in beforeEach so module tests do no leak state into each other