Infinity tests and fixes
Merge branch 'develop' of https://github.com/robrtj/knowledgerepresentation into develop