Fix test_read_file so it reads its own output (which should obviously