#include<bits/stdc++.h>
using namespace std;
int main(){
    ios::sync_with_stdio(0);cin.tie(0);
    int t;
    cin>>t;
    while(t--){
        int n;
        cin>>n;
        int c[n+1],a[n+1],b[n+1];
        for(int i=1;i<=n;++i) cin>>c[i];
        for(int i=1;i<=n;++i) cin>>a[i];
        for(int i=1;i<=n;++i) cin>>b[i];
        long long ans=0,sm=0;
        for(int i=2;i<=n;++i){
            if(a[i]>b[i]) swap(a[i],b[i]);
            if(a[i]==b[i]) sm=2;
            else{
                if(i==2) sm+=b[i]-a[i]+2;
                else sm+=a[i]-1+0ll+c[i-1]-b[i]+2;
            }
            sm=max(sm,(long long)(b[i]-a[i]+2));
            ans=max(ans,sm+c[i]-1); 
        }
        cout<<ans<<'\n';
    }
}