Fixed an issue with tests failing because not all URL's are HTTP
connections.