add concurrent test ，add designpattern