Ignore vim .swp files
Refactor the existing cookie tests to make it easier to extend them to local storage