#include <bits/stdc++.h>
using namespace std;

#define ll long long

int main(){
	
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);

	ll t;
	cin>>t;

	while(t--){

		ll n;
		cin>>n;

		vector<ll> c(n),a(n),b(n);
		for(ll i=0;i<n;i++)
			cin>>c[i];
		for(ll i=0;i<n;i++)
			cin>>a[i];
		for(ll i=0;i<n;i++)
			cin>>b[i];

		ll len = abs(a[1] - b[1]) - 1 + c[1] + 2;
		ll ans = len;
		// cout<<len<<" ";
		for(ll i=2;i<n;i++){
			ll op2 = 0;
			if(a[i] == b[i]){
				ans = max(ans, len);
				len = c[i] - 1 + 2;
			}
			else{
				len -= abs(a[i] - b[i]);
				len += 2 + c[i] - 1;
				op2 = abs(a[i] - b[i]) + 2 + c[i] - 1;
			}
			len = max(len, op2);

			// cout<<len<<" ";
			ans = max(ans, len);
		}

		cout<<ans<<"\n";

	}

	return 0;
}