no ipython magic allowed for testing