Add system test to verify we manage the rights of the plugin dir correctly