dfs test
bfs and tests