Fix for running multiple mocking tests

When the test suite include multiple tests with catalogs for mocking functions, the XSpec runner was failing by always resolving URIs to the first match in the entire set of catalogs.

This PR fixes that by configuring the Catalog Manager to create catalogs dynamically.