Fixes #2. Redefine os.fork os.waitpid to test methods using them.