Add ProcessOpen.terminate tests cases