Added regression check for null items occuring in the collection names

JAVA-1564