minor update in nio testing code