Update error condition tests to not truncate archive.
Add new tests for out of range values and corrupted file.