nio test still does not work properly