Test TermsFilter execution modes.