fix go vet messages

A few of the tests had format strings with incorrect numbers of input
args, and the reflect.SelectCase literals had to be changed to use
named fields.  Now go vet passes.