USER_MANAG: add unittest for user management