Added depth traversal test