Fix small bug external plugins

* Fix the variable to display in log when an external plugin fails to load.
* Add functional tests to explore external plugins in two
bad scenarios: 1) plugin without configure() method implemented,
2) plugin with syntax error.