Windows test fixes in cmd/juju