Merged r10220 from trunk to 1.4-stable (#11665)
add unit test to get default document category defined on database.
Authored by: tmaruyama 2012-08-21
Parent: [r10223]
Child: [r10225]