added TestWindowTest