refactoring of list tests + some bug fixes

logger: removed unnecessary boundary checks and limited string parts so they always respect buffer lengths

(0) -100 -30 -10 -2 +2 +10 +30 +100 +300 tip

mercurial