Added a test case to check repeated edits