Fixed unit tests ImportError for IPython version <0.13