Moved out from deprecated testing lib (qtestlib ⇒ testlib)