added some tests, added createmultisig method.