Test for Codetree