Only import "testing" from *_test.go

This prevents the testing package flags from leaking into the flagsets
of binaries that import docker.