add some new test about the pattern composite