full testing function for many delays