Cleaned mem tests