Fixed up single file to single file test. Replaced ftruncate with truncate.