Methods ```setup_1D_cube```, ```setup_2D_cube```, ```setup_4D_cube``` and ```setup_7D_cube``` could be defined as functions outside the class ...

Infact, these are pretty much the same as those methods in ```test_cube_logic.py``` is there an opportunity to share these functions between the tests rather than duplicate the code ?