Append nw-quit test case

Append test case for window close event.