Index: /trunk/psLib/test/astronomy/verified/tst_psMetadata_01.stderr
===================================================================
--- /trunk/psLib/test/astronomy/verified/tst_psMetadata_01.stderr	(revision 1409)
+++ /trunk/psLib/test/astronomy/verified/tst_psMetadata_01.stderr	(revision 1410)
@@ -1,3 +1,4 @@
 <DATE><TIME>|<HOST>|E|psMetadataFRead|Null FITS file descriptor not allowed
-<DATE><TIME>|<HOST>|E|psMetadataFRead|Null extname AND extnum = 0 not allowed
-<DATE><TIME>|<HOST>|E|psMetadataFRead|FITS error while locating header: tried to move past end of file
+<DATE><TIME>|<HOST>|E|psMetadataFRead|Null extName and extNum = 0 not allowed
+<DATE><TIME>|<HOST>|E|psMetadataFRead|FITS error while locating header 22: tried to move past end of file
+<DATE><TIME>|<HOST>|E|psMetadataFRead|FITS error while locating header AARGH: illegal HDU number
Index: /trunk/psLib/test/astronomy/verified/tst_psMetadata_01.stdout
===================================================================
--- /trunk/psLib/test/astronomy/verified/tst_psMetadata_01.stdout	(revision 1409)
+++ /trunk/psLib/test/astronomy/verified/tst_psMetadata_01.stdout	(revision 1410)
@@ -7,8 +7,8 @@
 FITS file open status: OK - no error
 
+Key Name:   SIMPLE  Key Type:  1  Key Value:               1  Key Comment: file does conform to FITS standard
+Key Name:   BITPIX  Key Type:  2  Key Value:               8  Key Comment: number of bits per data pixel
+Key Name:    NAXIS  Key Type:  2  Key Value:               0  Key Comment: number of data axes
 Key Name:  HISTORY  Key Type:  5  Key Value:                  Key Comment: File modified by user 'harman' with fv  on 2004-08-04T<DATE>
-Key Name:    NAXIS  Key Type:  2  Key Value:               0  Key Comment: number of data axes
-Key Name:   BITPIX  Key Type:  2  Key Value:               8  Key Comment: number of bits per data pixel
-Key Name:   SIMPLE  Key Type:  1  Key Value:               1  Key Comment: file does conform to FITS standard
 
 ---> TESTPOINT PASSED (psMetadata{Test A - Read 1st hdr from simple FITS file} | tst_psMetadata_01.c)
@@ -22,16 +22,16 @@
 FITS file open status: OK - no error
 
+Key Name: XTENSION  Key Type:  5  Key Value:      'IMAGE   '  Key Comment: IMAGE extension
+Key Name:   BITPIX  Key Type:  2  Key Value:             -64  Key Comment: number of bits per data pixel
+Key Name:    NAXIS  Key Type:  2  Key Value:               1  Key Comment: number of data axes
+Key Name:   NAXIS1  Key Type:  2  Key Value:              64  Key Comment: length of data axis 1
+Key Name:   PCOUNT  Key Type:  2  Key Value:               0  Key Comment: required keyword; must = 0
+Key Name:   GCOUNT  Key Type:  2  Key Value:               1  Key Comment: required keyword; must = 1
+Key Name:   BITPIX  Key Type:  2  Key Value:             -64  Key Comment: number of bits per data pixel
+Key Name:  EXTNAME  Key Type:  5  Key Value:     'MY_DATA_1'  Key Comment: 
 Key Name:  HISTORY  Key Type:  5  Key Value:                  Key Comment: File modified by user 'harman' with fv  on 2004-08-04T<DATE>
 Key Name:  HISTORY  Key Type:  5  Key Value:                  Key Comment: File modified by user 'harman' with fv  on 2004-08-04T<DATE>
 Key Name:  HISTORY  Key Type:  5  Key Value:                  Key Comment: File modified by user 'harman' with fv  on 2004-08-04T<DATE>
 Key Name:  HISTORY  Key Type:  5  Key Value:                  Key Comment: File modified by user 'harman' with fv  on 2004-08-04T<DATE>
-Key Name:  EXTNAME  Key Type:  5  Key Value:     'MY_DATA_1'  Key Comment: 
-Key Name:   BITPIX  Key Type:  2  Key Value:             -64  Key Comment: number of bits per data pixel
-Key Name:   GCOUNT  Key Type:  2  Key Value:               1  Key Comment: required keyword; must = 1
-Key Name:   PCOUNT  Key Type:  2  Key Value:               0  Key Comment: required keyword; must = 0
-Key Name:   NAXIS1  Key Type:  2  Key Value:              64  Key Comment: length of data axis 1
-Key Name:    NAXIS  Key Type:  2  Key Value:               1  Key Comment: number of data axes
-Key Name:   BITPIX  Key Type:  2  Key Value:             -64  Key Comment: number of bits per data pixel
-Key Name: XTENSION  Key Type:  5  Key Value:      'IMAGE   '  Key Comment: IMAGE extension
 
 ---> TESTPOINT PASSED (psMetadata{Test B - Read 2nd hdr from complex FITS file} | tst_psMetadata_01.c)
@@ -45,11 +45,13 @@
 FITS file open status: OK - no error
 
-Key Name:  COMMENT  Key Type:  5  Key Value:                  Key Comment:   and Astrophysics', volume 376, page 359; bibcode: 2001A&A...376..359H
-Key Name:  COMMENT  Key Type:  5  Key Value:                  Key Comment:   FITS (Flexible Image Transport System) format is defined in 'Astronomy
-Key Name:   EXTEND  Key Type:  1  Key Value:               1  Key Comment: FITS dataset may contain extensions
+Key Name: XTENSION  Key Type:  5  Key Value:      'IMAGE   '  Key Comment: IMAGE extension
+Key Name:   BITPIX  Key Type:  2  Key Value:             -64  Key Comment: number of bits per data pixel
+Key Name:    NAXIS  Key Type:  2  Key Value:               1  Key Comment: number of data axes
 Key Name:   NAXIS1  Key Type:  2  Key Value:              64  Key Comment: length of data axis 1
-Key Name:    NAXIS  Key Type:  2  Key Value:               1  Key Comment: number of data axes
-Key Name:   BITPIX  Key Type:  2  Key Value:             -64  Key Comment: number of bits per data pixel
-Key Name:   SIMPLE  Key Type:  1  Key Value:               1  Key Comment: file does conform to FITS standard
+Key Name:   PCOUNT  Key Type:  2  Key Value:               0  Key Comment: required keyword; must = 0
+Key Name:   GCOUNT  Key Type:  2  Key Value:               1  Key Comment: required keyword; must = 1
+Key Name:  EXTNAME  Key Type:  5  Key Value:     'MY_DATA_2'  Key Comment: 
+Key Name:  HISTORY  Key Type:  5  Key Value:                  Key Comment: File modified by user 'harman' with fv  on 2004-08-04T<DATE>
+Key Name:  HISTORY  Key Type:  5  Key Value:                  Key Comment: File modified by user 'harman' with fv  on 2004-08-04T<DATE>
 
 ---> TESTPOINT PASSED (psMetadata{Test C - Read named hdr from complex FITS file} | tst_psMetadata_01.c)
Index: /trunk/psLib/test/astronomy/verified/tst_psMetadata_02.stderr
===================================================================
--- /trunk/psLib/test/astronomy/verified/tst_psMetadata_02.stderr	(revision 1409)
+++ /trunk/psLib/test/astronomy/verified/tst_psMetadata_02.stderr	(revision 1410)
@@ -1,3 +1,3 @@
-<DATE><TIME>|<HOST>|E|psMetadataItemA|Null value for string not allowed
+<DATE><TIME>|<HOST>|E|psMetadataItemA|Null value for name not allowed
 <DATE><TIME>|<HOST>|E|psMetadataItemA|Invalid psMetadataType: 6
 <DATE><TIME>|<HOST>|E|psMetadataAddIt|Null metadata collection not allowed
Index: /trunk/psLib/test/astronomy/verified/tst_psMetadata_03.stdout
===================================================================
--- /trunk/psLib/test/astronomy/verified/tst_psMetadata_03.stdout	(revision 1409)
+++ /trunk/psLib/test/astronomy/verified/tst_psMetadata_03.stdout	(revision 1410)
@@ -12,12 +12,4 @@
 
 References = 3
-References = 3
- before list remove References = 3
-before hash remove References = 2
-References = 0
-References = 3
- before list remove References = 3
-before hash remove References = 2
-References = 0
 /***************************** TESTPOINT ******************************************\
 *             TestFile: tst_psMetadata_03.c                                        *
