Merge "Exposed some testAPIs in UserManager" into sc-dev