Began adding unit tests
Exposed interface to extractInfix and nextInRange functions