For these cases (where you need a setup to have a balance) it makes sense to use a Python based test (see qa/rpc-tests/listtransactions.py for an example).