[unittests] Avoid screen blanking during test runs