add argument for setting plotting data in plot-all
enable to set the printing data with argument
init test variables
adding test in main-test
add function for test