Improves tests and make the plugin less dependent on plugin order, it now rely on compile extension point