better shutdown logging
run eunit tests before junit ones, to detect failure