Tests for Pdf TextEditor