bugfix - datadir needs to be created first.
improved unittest_prep target.