test for category