fixed call to logdist.Message
added statdist_test.go