fixxed registration tests