Refactor tests to reduce copy-paste between droplet and build-artifacts upload

Signed-off-by: David Varvel <dvarvel@pivotallabs.com>