add catalog manager tests.
docstrings