Fixes unit listing with test update.

* Call aggregate update when we add uncommitted units. The unit list and unit
  count update is dependent on this operation firing off.

* Update tests to ensure this is called.
It seems to me like this should be moved into the db methods `addUnits` and `removeUnits` because I can't think of a time when we would update the unit lists but not want to update the aggregates?