[task] updated registration controller tests

because the controllers have been refactored and got a new template
engine