Streamline the beforeEach