tests if output files are the same