fixed log test.