Add test specs for plugin-warning