add tests for entity display as