added error checking for sms registration
Enabled code registration test for dev