Create test case for updateUserData