repairing test_plugins