added nosetests in ipython