Design of optimal sequential hybrid testing plans. (16th April 2021)