adding registration testcase