Test-Time Adaptation for Visual Document Understanding