Setup test for qt