added a unit test file for cat