Merge "tests: Fix broken assertion in ApiQueryAllPagesTest"