Fix swipe test