refactoring test helper