extract multi signature stuff out to test