native test helper