Fixed delegate and gesture recognition test