add test for ReduceActor and AggregateActor.