tests: runtests.py - better state indication