code improvements in EarFileReaderTest with resources