fixed test helper