evhttp_request_set_on_complete_cb to be more specific about what the function actually does and usage
Update unit test to make sure that the callback happens after the output data is written