automatic tests: close all figures after each test
tests: more fixes for md5sums