Extracted another test helper