#include <bits/stdc++.h>
#pragma GCC optimize("Ofast")
using namespace std;
void solve(int cs) {
int n;
cin >> n;
vector<int> a(n), b(n), c(n);
for (int i = 0; i < n; i++) {
cin >> a[i];
}
for (int i = 0; i < n; i++) {
cin >> b[i];
}
for (int i = 0; i < n; i++) {
cin >> c[i];
}
vector<vector<int64_t>> dp(n + 1, vector<int64_t>(3,0));
for (int i = 0; i < n; i++) {
dp[i + 1][0] = max(dp[i][1], dp[i][2]) + a[i];
dp[i + 1][1] = max(dp[i][2], dp[i][0]) + b[i];
dp[i + 1][2] = max(dp[i][1], dp[i][0]) + c[i];
}
cout << *max_element(dp.back().begin(), dp.back().end()) << "\n";
}
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int tc = 1;
cin >> tc;
for (int cs = 1; cs <= tc; cs++) {
solve(cs);
}
return 0;
}