Added test case for the changes for edit function