categories_controller tests