session mockup, memory and namespace tests, coverage