Added a few tests about registration