Add DFS test.