adding tests for categories