add sample test case and add adaptor support