Adding test output file gitignore.
Added missing <unistd.h> include.