tests for rename