Modified generated test to report correct file output