fix wrap test for go 1.0