add glist fifo and event test code