Adapter unit test