method Decorate in class SquaresDecorate is tested