Fixing test on middleware Content-Type