change iochannel to glib file
fix bug on rebase, add test6