Fix SSTR.getPosition calculation, unit tests