fix log_repr tests