Test for partial data and non-blocking I/O