fix #16700 - add new tests exercising handling of plugins that advertise multiple versions for compatibility (patch by ris)