Ignore tmp files from testing.
Fix bug reported in RT ticket #55026
Add test for fix for bug reported in RT ticket #55026