Add test for favicon middleware