testing events with ncl and lua