Add ProcessOpen.wait method test cases