Added some half automated test

The tests will run and save a data file,
this file can be parsed with plot.sh
and the result can be view as png:s