Added new curl testing helper functions.