Add test for categories and tasks