fix test helper