Remove duplicate test helper