Added some QCoreApplication tests.