Registration feature added with test cases