it's a demo, not tests
added a simple readme
line endings
use a function for encoding so we catch tildes everywhere