Test case for the adapt issue