Add tests for PluginHandler.

Fixes issue with .help not displaying all available commands.