Added nosetests for pdb.py