Adding test cases for new transactions functions