Move and refactor multisig tests.

* Factor and move multisig test in proper folder.
* Rewrite tests in unittest format.