adds tests for creating a category