Testing gestures with images