add test if pinned item is enable before dispatching touch event

add small test to use adapter configuration