Added test for array-type BSON document.