IPython v1.0 terminal widget + tests