finished unit tests for structural design patterns