DFS return val and unit test. Older "sniff attempt" code.