DocumentBuilder test and fix
Scope API change