capture-tests mock cert file path changed