tests added for registration