unittests: use max/min memory