The current test set is not nearly covering enough code; add some tests until at least the important parts of the commands and discoveries are covered.
Currently the application loading all plugins incurs a lot of overhead on each call to the script. A way to avoid this is to add an agent mode that only loads all plugins once and just passes incoming HTTP requests to the module.