Added doCloudQuery test.