added tests for rename