just test some easy java NIO