perf: make the tests work without a worktree