added tests for C_plot_window