Some fixes to pass more tests
Some fixes to pass more tests

qtproject/playground-mimetypes,qtproject/playground-mimetypes,qtproject/playground-mimetypes,qtproject/playground-mimetypes,qtproject/playground-mimetypes,qtproject/playground-mimetypes,d1vanov/qt4-mimetypes,d1vanov/qt4-mimetypes,d1vanov/qt4-mimetypes,qtproject/playground-mimetypes,d1vanov/qt4-mimetypes,d1vanov/qt4-mimetypes,qtproject/playground-mimetypes,d1vanov/qt4-mimetypes,d1vanov/qt4-mimetypes,d1vanov/qt4-mimetypes,qtproject/playground-mimetypes,d1vanov/qt4-mimetypes