Fix broken use of is_subclass_of.
Add API abstract adapter tests.