Add test for input from pipe

Usage: env | pt PATH

However, it does not support the following features:
* Detect the encoding from the input pipe.
* Input stream, such as tail -f