Cleanup autogen file
Add fork test and cleanup tests files

Add a error messages test when process forks.
Add logs and executables to gitignore to clean
the repo.
Add test log files to git ignore