add unit test - http_create_and_free