added a test script for non-blocking buffers