add tests for URL errors caused by invalid input