test_substituition: Fix failed test reporting to actually report failure.