Fixa few bugs in the reg tests.
Fixa few bugs in the reg tests.

frankcash/node-client,keybase/node-client,frankcash/node-client,keybase/node-client,frankcash/node-client,keybase/node-client,keybase/node-client,frankcash/node-client