adds test for changing document name and comment until date