Removes unused test helper
Fixes undefined function