Fix gitignore file.
Add some simple tests.
Version 4.1.2.