Testing document formats