add cmdtest.BuildIn for swapping out $GOPATH

Signed-off-by: Michael Fraenkel <fraenkel@us.ibm.com>