Update the tests for load_plugins to make sure the error message is descriptive, and implement the functionality.