Add asserts to DecoratorTest

+ remove some unused code