flip logic to run comparisons based on expected output