add integration test for entity selector.