add unit test for rename and copy operation