Add tests for plugin composition feature.