Fix typo.
Add more tests for entity-by-name get functionality.