Removes conditional dependency of `src/test` on wallet. Makes multisig and P2SH tests complete without wallet built-in.