test for swipes