Moving beforeAll/afterAll to hooks, per suggestion