Fix beforeEach snip