tests results against output files to check if correct