testing: fix some golint warnings