[#1117] Add test for user_update's defer_commit option