minor fix in test helper