Adding tests to message_job. Moving some of the logic from the aggregator class to the MessageJob class. updating some documentation.