test pointer events