use -t with go get

-t causes go get to download dependencies that are only used in testing files.  Without this, if you reference a package only in a test file, your tests will fail to build, because that package won't exist locally.