add new test case "window-document-event"