Added a test fpr document libraries.