more unit tests

removed console logs, more registration / verification tests, invite
code testing