Make test_url.sh test for two-level metadata structure