Written nonBlockingRead() test. Removed unused code.