Add test for adapter usage