Added unittests for a few problems with private memory
Added unittests for a few problems with private memory

--HG--
branch : toPrivate

lift-project/lift,lift-project/lift,lift-project/lift,lift-project/lift,lift-project/lift