Test RTF document