Minor changes on TestRunner to make it works with Qt 5.x