test case for Jim Cochrane's fix
[rt.cpan.org #87757] Fixed rename problem caused by broad filename
match, reported by Jim Cochrane. Added a test case.