Add tests for Decorator.