simplify beforeEach