categories and registrations controller tests