made the IPython3 tests work on IPython2