completes the test-survey-emailcertificate flow and fixes the certificates page email certificate event for certificates already emailed