Update Test.py

Wrapped functionality in a try block which catches IOErrors from file operations and a custom FileFormatError from the CRN class.