Fix plugin tests

We should load the server class in the main part of the plugin, and test that the plugin was loaded correctly.