some changes in Unittest, to make a plot happen that was needed.