ERT-500 added plot_gendata and plot_genvector + tests