check for nil object
use CWAssert
CWTreeAppendWithChild()