Test for ClassCollection
Tests for ClassDocumentFactory, ClassDocument and Document