Add test for copy plugins in StaticPlaceholder
Fix dirty bit when moving plugins in placeholders and static placeholders