Informal test code for proposed touch-event-to-widget-mapping algorithm