added test for rename