initialize Mem only when testing