fix the document signature change in the tests