added some unit tests for the catalog service