basic functions and tests for multisig transactions and bip 32