modify test for DecoratorTest