new function renameNx
changed include in test