Tests for registrations controller