Test window with device orientation.