expand unit tests in t_balance.cc

add various unit tests for balance_t