Got the addRelease method of Catalog working. Founds some bugs in the test code.