tweaked tests for ipython