created Category class and test for category name presence