move path in tests to inside beforeEach to stop polluting