Create AdapterTest for common adapter tests

As in issue #7