Add output test, and *.swp to .gitignore