Wrote test to confirm show error message if URL is invalid.