Add tests for local entity types.