add setsid test
setpgrp tests plus fix syscalls