Add pre or post escaped reference substitution test.