Make testcode play nice with go vet
Merge pull request #1 from grittygrease/govet-testcode

Make testcode play nice with go vet