add integration tests for entity selectors.