Add a unit test for plugin loading from external directories.