Fix test for resource['format']
Merge branch 'resource_format_detection_fix' into noaa_dev