add window change test case