tests: fix Wallet constructor test to adhere to latest API