add some new test about composite pattern