[testFaceRestUser] Don't use a global variable.

The current tests depends on the global variable: g_parser.
However, this structure avoid flxible improvement of the code.