Transaction tests & fix addInput hash allowed formats