Tests: check all of the substitutions, including the optional ones