Write test cases for CatTool