started creating nio unittest