in the process of writing plot_lib tests