test using both touch and mouse events