Adapted new wallet tests to the new spec.