Log Message: Added a regression test for the SUBST framework, especially the newly introduced SUBST_VARS.