Use a test-root option instead of relying on repo root.