[test] check_output should show a diff on failure