add some new test about the java design pattern