fix some unit-test related stuff
change manager to DEBUG