attempt to put back unnecessary ugly changes to wallet testcase