Assert beforeEach correctly sets up test repo dir