fix uncaught typo in _withdraw logic
Adapt tests to differentiate between api versions

for version=1: test get_address_received (depreciated after v1)
for version=2: test get_address_balance instead