Depricated urllib API calls replaced by actual.
Test now executed with fails but without errors.