Fix Diamond unit tests

The Numa, DseOpsCenter and Kafka collectors all had failing unit tests. This series of fixes should resolve them.