Fix upload tools tests on ppc64

Fixes: https://bugs.launchpad.net/juju-core/+bug/1388853

Small test tweak.