Include Interval in StatisticsCollectionQuery and add guard to interval method to allow NSDateComponent objects to pass through
Use new interval API in test app