Move rename test function