Added DepthFirstOrder tests
Revert "Added DepthFirstOrder tests"

This reverts commit 0dbd0e6413484189210986b451f81743b7e65355.