added specs for categories