Tested BFS on binary tree traversal