Device registration - added sanity checker code input test