test: add test for normalizeType fallback when mime lookup fails (#6894)