pudate gitignore to ignore swap files
refactor test
add failing uri and http method when returning a 404