testing popen api
testing non-block reading