simplify DocumentCollectionTest / DocumentTest