Added Tests for Transaction