RegisterDirectUserTest refactoring

Change-Id: Ifc79316c5013c2a733cec2969e184c6a02551021
Merge branch 'master' of https://github.com/ilzul/bb_app