Added basic test for categories