Fix ipython tests when readline isn't available.

The automatic symbols feature depends implicitly on readline being available.