including a new test in runtest.sh; Reduced loglevel to ERROR
adding some fixes for trimmed lines and more tests