update tests and mimemapper.py for LibreOffice 4.2.