added test_plot