Handle rename in the tests.