#include <bits/stdc++.h>
using namespace std;
using lint = long long;
constexpr lint inf = 1LL << 60;
constexpr lint mod = 1000000007;
int main() {
  cin.tie(nullptr);
  ios::sync_with_stdio(false);
  int t;
  cin >> t;
  while (t--) {
    lint n;
    cin >> n;
    vector<lint> a(n), b(n);
    for (int i = 0; i < n; ++i) {
      cin >> a[i];
    }
    for (int i = 0; i < n; ++i) {
      cin >> b[i];
    }
    bool ok = true;
    vector<lint> c = a, d = b;
    lint flw = min(d[0], c[1]);
    d[0] -= flw;
    c[1] -= flw;
    for (int i = 1; i < n; ++i) {
      lint f1 = min(d[i], c[i]);
      c[i] -= f1;
      d[i] -= f1;
      if (c[i] > 0) {
        ok = false;
      }
      lint f2 = min(d[i], c[(i + 1) % n]);
      d[i] -= f2;
      c[(i + 1) % n] -= f2;
    }
    flw = min(c[0], b[0]);
    a[0] -= flw;
    b[0] -= flw;
    lint f2 = min(b[0], a[1]);
    b[0] -= f2;
    a[1] -= f2;
    for (int i = 1; i < n; ++i) {
      lint f1 = min(b[i], a[i]);
      a[i] -= f1;
      b[i] -= f1;
      if (a[i] > 0) {
        ok = false;
      }
      lint f2 = min(b[i], a[(i + 1) % n]);
      b[i] -= f2;
      a[(i + 1) % n] -= f2;
    }
    if (a[0] > 0) ok = false;
    if (ok)
      cout << "YES"
           << "\n";
    else
      cout << "NO"
           << "\n";
  }
  return 0;
}
