Clean up and simplify setPointerCapture tests