make output test correct (fails on linux)
remove debug outputs
output test now working with sleep (wait() does not wait for child processes)
slight cleanup of output test