fix test to intialise plugins