Sync the test plugin with changes to the plugin API.
Allow extra plugins to be loaded using an environment variable.  See #42.