multi-id query testing