Category controller tests