Add test for .docx uploads
Implement fix for incorrect .docx mime type detection