Fix tests for IPython.testing