now added testDocument