testing plugin states