Add tests for legacy load by url and fix bugs
# What does this PR do?

This PR adds to tests we can load object with the single url to the relevant file, which is a deprecated behavior until v5, but that we unintentionally broke early because it's not tested. The tests added are marked to be removed at v5 (when they test deprecated behavior).
_The documentation is not available anymore as the PR was closed or merged._