added a registration controller test