modify test for DecoratorTest
modify test for DecoratorTest