aggregator classes with tests
use Aggregator objects to build intervals