added new window and new window tests