#include <bits/stdc++.h>
using namespace std;
template <typename T1, typename T2>
inline void chkmin(T1 &a, T2 b) {
  if (a > b) a = b;
}
template <typename T1, typename T2>
inline void chkmax(T1 &a, T2 b) {
  if (a < b) a = b;
}
using ll = long long;
using ld = long double;
const string FILENAME = "input";
const int MAXN = 2000228;
int n;
int a[MAXN], b[MAXN];
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int ts;
  cin >> ts;
  while (ts--) {
    cin >> n;
    for (int i = 0; i < n; i++) {
      cin >> a[i];
    }
    for (int i = 0; i < n; i++) {
      cin >> b[i];
    }
    bool bad = false;
    ll sum = 0;
    ll sum1 = 0;
    for (int i = 0; i < n; i++) {
      sum += b[i];
      sum1 += a[i];
      int j = (i - 1 + n) % n;
      if (b[j] + b[i] < a[i]) {
        bad = true;
      }
    }
    if (sum < sum1) {
      bad = true;
    }
    for (int i = 0; i < n; i++) {
      a[i + n] = a[i];
      b[i + n] = b[i];
    }
    ll prefa = 0;
    ll prefb = 0;
    ll cur = 1e18;
    for (int i = 0; i < 2 * n; i++) {
      prefa += a[i];
      prefb += b[i];
      ll val = prefa - prefb;
      if (val - cur > 0) {
        bad = true;
        break;
      }
      ll sub = prefa - (prefb - b[i]);
      chkmin(cur, sub);
    }
    if (bad) {
      cout << "NO\n";
      continue;
    }
    cout << "YES\n";
  }
  return 0;
}
