add config, session to shell ns, remove ipdb from tests