Fixed a test bug in go 1.1.