added ability to register plugins and tests for them