Add output validation test case for substitution.