Test the statistics work as expected for a simple program, which can be extended as needed. This is all a bit meta. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/10392050