getsubstr temporarary IAssert
tests cleanup