Set error handling test aux functions as static