added a bunch of ad hoc tests for P2SH and canonicality