Added a new design pattern and its test cases