registration tests fixed