wrote a bunch of tests for termGetter #262