add test for internal http client's Do() func
add tests for URL errors caused by invalid input