Added Tests
Added swap files and local/ to .gitignore