simplified test helper