add test of entity select