Included some testsuite into qtmain and updated travis file to try to use it.