cleaning up the aggregator_spec. Removing the dummy class and replacing it with a let statement
adding more tests and fixing a small bug in the register method for aggregator
updating aggregator and aggregator_spec