Corrected test on activation of required plugins