add test for to_s method of entity_group