AgnInferCDSVisitor class now passes minimal unit testing, has no (identified) memory leaks