Merge pull request #86 from rojkov/fix-unittests

[unittests] Safeguard searchengine test case for dirty setup
[unittests] Avoid screen blanking during test runs