test case for event sub process and terminate end event