test creation of categories