Do not raise error on invalid PIS during testing

This was used for debugging purposes while writing the function.