updates tests/bfs