Fixed broken test for category spec