Shell.py. Fixes #3.
session.remove() fixes tests in pypy.