fix integration tests
fix unit tests
Merge pull request #491 from JahPowerBit/develop

Update tests
allow manually providing pubkeys for multi‐sig (fixes #413)