Some fixes in the transaction tests and completed the transfer tests.