add tests for entity URIs building