Add some tests
Add .gitignore
Fix init of global-flycheck-mode