Added test for nio unchecked