tests; confirm #to_xml works with balances