2 tests for bfs created