Fix log test