[PE-977] Add tests for check_service_url

This commit adds tests for the behavior of the service url checking. It tests
what happens if a service does not match the base url or a service on the
whitelist, if a service url does match a service on the whitelist, and if
service checking is turned off.
Update log message