Cross platform test for swapping the cursor