fixing entity id function signature in entity iterator test