Add abstract API adapter test.
Add runtime exception.