#include <bits/stdc++.h>
long long q_pow(long long x, long long n, long long mod) {
  long long ret = 1;
  while (n) {
    if (n & 1) ret = x * ret % mod;
    x = x * x % mod;
    n >>= 1;
  }
  return ret;
}
long long __gcd(long long x, long long y) {
  if (!y) return x;
  return __gcd(y, x % y);
}
long long getbit(long long now) {
  int cnt = 0;
  while (now) {
    cnt++;
    now -= (now) & (-now);
  }
  return cnt;
}
int dx[] = {-1, 1, 0, 0};
int dy[] = {0, 0, -1, 1};
using namespace std;
const long long INF = 0x3f3f3f3f;
const long long IINF = 0x3f3f3f3f3f3f3f3f;
const int maxn = 1e6 + 9;
const int maxm = 1e3 + 5;
const double eps = 1e-7;
const double pi = acos(-1);
const long long mod = 1e9 + 7;
int dp[maxn];
vector<int> edge[maxn];
int n, a, b, da, db;
int maxlen = 0;
int vis[maxn];
void dfs(int pos, int fa) {
  dp[pos] = 0;
  for (auto to : edge[pos]) {
    if (to == fa) continue;
    dfs(to, pos);
    maxlen = max(maxlen, dp[pos] + dp[to] + 1);
    dp[pos] = max(dp[pos], dp[to] + 1);
  }
}
int bfs(int pos) {
  queue<pair<int, int> > q;
  vis[a] = 1;
  q.push({a, 0});
  while (!q.empty()) {
    pair<int, int> now = q.front();
    q.pop();
    for (auto to : edge[now.first]) {
      if (vis[to]) continue;
      vis[to] = 1;
      q.push({to, now.second + 1});
      if (to == b) return now.second + 1;
    }
  }
}
signed main(int argc, char *argv[]) {
  if (argc == 2 && strcmp("-debug", argv[1]) == 0) {
    freopen("in.txt", "r", stdin);
    freopen("out.txt", "w", stdout);
  }
  int t;
  scanf("%d", &t);
  while (t--) {
    scanf("%d%d%d%d%d", &n, &a, &b, &da, &db);
    for (int i = 1; i <= n; i++) dp[i] = 0, edge[i].clear(), vis[i] = 0;
    int u, v;
    for (int i = 1; i < n; i++) {
      scanf("%d%d", &u, &v);
      edge[u].push_back(v);
      edge[v].push_back(u);
    }
    maxlen = 0;
    dfs(1, 0);
    int flag = 1;
    int step = bfs(a);
    if (step <= da)
      flag = 1;
    else if (da >= db)
      flag = 1;
    else if (min(maxlen, db) > 2 * da)
      flag = 0;
    if (flag)
      printf("Alice\n");
    else
      printf("Bob\n");
  }
  return 0;
}
