Add BFS & DFS tests