fix the log test