Added test for detecting content type from filename