caster tests updated to only run if juju env available

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>