trying to unify the memory tests