Compare output against expected values