master add tests for account_totals