Add test for correct extension, but incorrect content-type