ENH: Reducing test memory consumption
ENH: Reduce memory consumption
ENH: More leaning
ENH: Making tests cleaner and more efficient