Added outputs for tests 3 and 4