Fix test for go1.2