add tree mock