test: Make expected uri dynamically
test: Don't fix the expected argument

Because:
URI that makes to be opened is not fixed.
catalog: Fetch a catalog by specifying the number of letters