Try a smarter way to setup QApplication

share it among all tests