Improve tests for FileExtensionFilter