improve build scripts
add global QApplication for tests