TextFilterUtils::TestBasicStringExpression

Utility function to perform a basic string test for the given values