added test for DocumentVector