tests/file-with: Add testcase which failed for @dpgeorge.

Works on x86.