add tests for url_is_from_spider() with allowed_domains
pylint clean-ups for test_utils_url.py