Added MEM UnitTest