#2 Unit test for the registration (wip)