added mac environment.
modified ps_go_pid test.
use context with test case.
use context with test case.
modified context.
modified when call childprocess build code
modified test code