This makes it possible to skip the call to unit_stop() in such cases. Also use Curl_safefree() in unit test 1302 so it will pass the memory torture test.
I came up with 33 different ways to call it and verify that it returns the correct return code.