added test for Category model