Add checks for the URL property in tests