Added adapter tests.