Fix small bug in 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.
Good questions Cleber. All those scenarios deserves tests. I will include them.