#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base ::sync_with_stdio(false);
  cin.tie(NULL);
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    vector<int> a(n), b(n);
    for (int i = 0; i < n; ++i) cin >> a[i];
    for (int i = 0; i < n; ++i) cin >> b[i];
    long long asum = accumulate(a.begin(), a.end(), 0LL);
    long long bsum = accumulate(b.begin(), b.end(), 0LL);
    if (bsum < asum) {
      cout << "NO" << '\n';
      continue;
    }
    vector<int> v(n << 2);
    for (int i = 0; i < 4 * n; ++i) {
      if (i % 2 == 0) {
        v[i] = -a[(i / 2) % n];
      } else {
        v[i] = b[(i / 2) % n];
      }
    }
    vector<long long> dp(2 * n, 0);
    for (int i = 3, j = 0; i < 4 * n; i += 2, ++j) {
      if (j == 0) {
        dp[j] = 1LL * (v[i] + v[i - 1] + v[i - 2]);
      } else {
        dp[j] = min(1LL * (v[i] + v[i - 1] + v[i - 2]),
                    1LL * (v[i] + v[i - 1] + dp[j - 1]));
      }
    }
    bool no = false;
    for (int i = 0; i < 2 * n; ++i) {
      if (dp[i] < 0) {
        no = true;
        break;
      }
    }
    if (no) {
      cout << "NO" << '\n';
    } else {
      cout << "YES" << '\n';
    }
  }
  return 0;
}
