Aded tests for the registration controller