added an output file for tests, since the output window closes immediately