[UnitTesting] add unit User unit testing close #1