Add test cases for successful user edit