Use mock pyfits version number for astropy.io.fits
Make YAML dict tests in test_config_value optional.