Tests for transaction class.