Nearly got indexing with tests working. Had to fix a few things with the ValueSet - it didn't contain the node type, just the index category so the validate document was never working.