Fix bignumber import for transaction info and add some tests