Add some specs for StatisticsCollectionQuery