Added a simple test and also a gnuplot file.