added unit test that ensures the values of AccountSummary are consistent with those of the underlying accounts