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