Added ipython test code back and extensions loading