Implemented test for text(collection).