update unit test for user