better registration controller testing