Update test_substitution to show failures in the test log.