Made FreeUpMemoryTest compatible with modified CalculationChooser