[TEST] Add external transactions controller test.
[FEATURE] Convert external transactions controller to use adapter.