Fixed failing server test

There was a failing server test due to the optional parameter in file
not being set correctly.
Also added the gitignore file so packages, lock file, etc not included
in file list.