Add tests for non-support of FileError and FileException.
Merge pull request #614 from Ms2ger/FileAPI-historical

Add tests for non-support of FileError and FileException.