Adding Registration Tests for happy and unhappy paths