Bug fix: Rename was using a wrong test of the provided new name.