translate title and fix tests for document content type