extract test window to a separate file
pointer dispatches arrive and leave event on windows