Optimized Renaming Test