fix some wallet tests.