Test eager fetch with query against array of ids