Design Pattern test