tests: case-insensitive rename test fixed