new mock session support