Implement `sessiontest.ContainerContext` function for testing. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>