Fixed unit test directory structure according to core.
Fixed changed constructor signature of DefaultPluginManager.