Fix unit test of users