test issue #23, added TEMPLATE_STRING_IF_INVALID setting