Compare outputs for tests