reliably stub cert transfer tests