add beforeEach() and afterEach()