Unit test for the Decorator structural design pattern.