Completed tests for transaction class