Fix tests and dependencies
Don't update timestamps on sub-documents which haven't been modified even if the parent document has changed