test: [live-agent] change tests to only run if key/cert is available