CORE-4446: added some unit tests for PIR files and corrected some file misidentifications