remove some duplicated StoreAndCompareQueries tests