Add tests for Collections to be sure that nodeID is not output if the  node is not otherwise referenced.
More refinements on BNode generation.