Improve readme example
Add null character test
1.0.1