'Test extract entities function with none or exclude stuff.'

def test_extract_entities_none_exclude_stuff(self):

    self.assertEqual(MATCH_ALL, template.extract_entities(None))
    self.assertEqual(MATCH_ALL, template.extract_entities('{{    closest(states.zone.far_away,    states.test_domain).entity_id    }}'))
    self.assertEqual(MATCH_ALL, template.extract_entities('{{    distance("123",    states.test_object_2)    }}'))
