Fixes #8629: Move bootstrap back to before the plugin tests are loaded.