Merged r10230 from trunk (#11665)
add check default document category is not defined on database in tests.
Authored by: tmaruyama 2012-08-22
Parent: [r10232]
Child: [r10234]