bugfix unittest
use global log
update to new API