ARMORY-225 - Multisig unit tests

Made the chain creation script more robust.