logsumexp tested