test: Fix tests for Go 1.3