Your never making changes to the rest of the cube, so why compare your resulting cubes with each cube from the original group, simply compare them with a single reference cube (i.e. self.cube_no_attrs).