make the integration test useful with some assert
some more smart fixes
Added a simple definition of the decorator pattern