Testing Registration code