ilios.lang unit tests (and a bug fix)

fixed the buggy implementation of endsWith()