test designpattern other utility things