Add beforeEachSpec and afterEachSpec blocks