Advanced session tests; working on wrapper.