Travellers with Ryanair and EasyJet were told they could not fly because they had taken the wrong PCR test.