Ignore git swap files
Added a test for the main page