fix tests for go1.3