Added documentation
Towards #7
Make unit test work in xterm too.
Towards #7
Add README reference to the new test
Towards #7