Minor fixes on the TIFFMetadataTest and TIFFReadTest