download dependencies for bin/test into tmp dir

Signed-off-by: Johannes Petzold <jpetzold@pivotallabs.com>