file output in tests