Merge to XFA: Implement a delegate for EmbedderTests.