[test] Adding test for the removal of plugins