Add some visitor function calls
Fix and complete dynamic_plugin unit tests