TESTS: fix to the test of ipython import