Bug fixes, new public property: `linesChanged`
Add simple unit test
Run test on Travis