tests beforeEach replaced