tests for ReGenerateDocsOnSuccessListener class