Added Tests for Transactions