testDocument has been changed