Second test shows strange behavior starting at output file 4