Set a default for settings.AJAX_SERIAL when running unit tests.

The change to prevent extension reloading during tests needed an
accompanying trivial change to set settings.AJAX_SERIAL. This wasn't set
before, and unit tests depended on it. We were getting a working value,
though, because ExtensionManager recalculates it when loading
extensions.