gitignore: dist-folder and swap files.
Added a test for type checking.