test and fix evented IO