starting to work on getting plot_lib ready for tests