Fixed compound result calculator test
Extracted Agreggator class. Tests pending.
Pending test for aggregator.