Added test class for Transaction API class.