Separate URL validator tests into methods for valid and invalid URLs.