Updated tests for plugin system

The plugin system is pretty much done.