fix test_window_data_layer