fix event gen test