perf: make the tests work in worktrees