Add an account class and a test for summing up transactions.