Fix ingestion test errors when using Go 1.2.