added test for method createTestDoc, currently failing