Setting up tests for aggregator. Need to revisit ActiveRecord later.