test_storage: make test_origin_metadata_get more robust
Nothing garantees us that Storage.origin_metadata_get_by() result is sorted, so don't expect it is.