Add support to root for beforeEach