bfs tests