#include <iostream>
#include "UFS.h"
using namespace std;
int oppo[MAXN];
int main()
{
int t;
int n,m,i,j;
UFS ufs;
scanf("%d",&t);
for(j=1;j<=t;j++)
{
bool f=0;
memset(oppo, 0, sizeof(oppo));
ufs.clear();
scanf("%d%d",&n,&m);
for(i=0;i<m;i++)
{
int a,b;
scanf("%d%d",&a,&b);
int x = ufs.Find(a), y = ufs.Find(b);
if(x==y)f=1;
else
{
int min,p,q;
if(oppo[x]==0)
oppo[x]=y;
else
ufs.Union(y, oppo[x]);
if(oppo[y]==0)
oppo[y]=x;
else
ufs.Union(x, oppo[y]);
}
}
printf("Scenario #%d:\n",j);
if(f)printf("Suspicious bugs found!\n");
else printf("No suspicious bugs found!\n");
if(i!=t)printf("\n");
}
return 0;
}