Might want to add another test to check that the ```collapsed_cube.data``` dtype is a masked array i.e. ```ma.isMaskedArray``` will do the trick here ...