basic implementation of beforeEach/afterEach