fix log test